﻿using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YiTian.Core.Modularity
{
    /// <summary>
    /// 模块服务配置上下文
    /// </summary>
    public class ModuleConfigurationContext
    {
        
        /// <summary>
        /// 服务集合（用于注册服务）
        /// </summary>
        public IServiceCollection Services { get; }


        public ModuleConfigurationContext(IServiceCollection services)
        {
            Services = services ?? throw new ArgumentNullException(nameof(services));
        }
    }
}
